home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14041 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  879 b 

  1. Path: horus.mch.sni.de!detlef
  2. From: detlef@graphics.ap.mchp.sni.de (Detlef Engelbrecht)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Please help me to sort 'adjacent items'
  5. Date: 28 Mar 1996 16:20:52 GMT
  6. Organization: Siemens Nixdorf Informationssysteme AG
  7. Distribution: world
  8. Message-ID: <1996Mar28.171828@graphics.ap.mchp.sni.de>
  9. References: <4jebic$jn5@tst.hk.super.net>
  10. Reply-To: detlef@graphics.ap.mchp.sni.de (Detlef Engelbrecht)
  11. NNTP-Posting-Host: weismain.mch.sni.de
  12.  
  13. Why don't you just sort it into two groups first, then sort these two
  14. groups?
  15.  
  16. Actually, you do not even have to do that, just write your own little
  17. compare function and use it along with qsort.
  18.  
  19. Seems straight forward to me.
  20.  
  21. Detlef
  22. -- 
  23. Detlef Engelbrecht
  24. Siemens Nixdorf Informationssysteme AG, ASW BA DMS2
  25. 81739  Muenchen, Otto-Hahn-Ring 6, Germany
  26. E-mail: Detlef.Engelbrecht@mch.sni.de or detlef@isys.net
  27.